TMDb - Get Media Details By ID
(8 actions, 11 KB)
0 Comment
• Movie: https://developer.themoviedb.org/reference/movie-details • TV: https://developer.themoviedb.org/reference/tv-series-details
1 DataJar > GetValueIntent »
6
keyPath
:
API Credentials.TMDb
2 Dictionary
➔ queryDict
»
{ "append_to_response": "alternative_titles" }
3 ToolboxProForShortcuts > CreateQueryItemIntent »
5
inputType
:
dictionary
dictionary
:
[2 queryDict]
name
:
external_source
4 Get Dictionary from
[Shortcut Input]
➔ inputDict
»
5 ToolboxProForShortcuts > BuildURLIntent »
path
:
/3/
[4 inputDict
.media_type
]
/
[4 inputDict
.id
]
host
:
api.themoviedb.org
queryItems
:
[3 Query Item]
6 Get Contents of URL
[5 URL]
»
RequestVariable
:
[? Shortcut Result]
HTTPHeaders
:
{ "Authorization": "Bearer
[1 Value
as Dictionary.accessKey
]
", "accept": "application/json" }
ShowHeaders
:
true
HTTPMethod
:
GET
HTTPBodyType
:
File
7 Stop and Output
[6 Contents of URL]